package com.nf.health.app.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.nf.health.app.R;
import com.nf.health.app.activity.global.RegisterNickActivity;

public class WelcomeFiveFragment  extends Fragment{
	
	private ImageView iv_entermain;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_welcomefive, container,false);
		iv_entermain = (ImageView) view.findViewById(R.id.iv_entermainId);
		iv_entermain.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				Intent heightIntent = new Intent(getActivity(),RegisterNickActivity.class);
				heightIntent.putExtra("type", "0");
				startActivity(heightIntent);
				getActivity().finish();
			}
		});
		return view ;
		
	}

}
